//
//  LGFriendTableViewCell.m
//  ligenyun
//
//  Created by apple on 2018/3/24.
//  Copyright © 2018年 stoneobs@icloud.com. All rights reserved.
//

#import "LGFriendTableViewCell.h"

@interface LGFriendTableViewCell()

@end
@implementation LGFriendTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self == [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self configSubView];
    }
    return self;
}
+ (CGFloat)cellHeight{
    return 60;
}
#pragma mark --SubView
- (void)configSubView{
    STButton * iconButton = [[STButton alloc] initWithFrame:CGRectMake(15, 10, 40, 40)
                                                      title:nil
                                                 titleColor:nil
                                                  titleFont:0
                                               cornerRadius:20
                                            backgroundColor:nil
                                            backgroundImage:[UIImage imageNamed:@"1"]
                                                      image:nil];
    [self addSubview:iconButton];
    
    STLabel * titleLable = [[STLabel alloc] initWithFrame:CGRectMake(iconButton.right + 10,0, 200, 60)
                                                    text:@"湿哒哒所大所多"
                                               textColor:FirstTextColor
                                                    font:15
                                             isSizetoFit:NO
                                           textAlignment:NSTextAlignmentLeft];
    [self addSubview:titleLable];
}

@end
